﻿using System;

namespace Mono.Cecil.Metadata
{
	// Token: 0x02000111 RID: 273
	internal sealed class TableHeap : Heap
	{
		// Token: 0x170002C2 RID: 706
		public TableInformation this[Table table]
		{
			get
			{
				return this.Tables[(int)table];
			}
		}

		// Token: 0x06000A5E RID: 2654 RVA: 0x00005BC7 File Offset: 0x00003DC7
		public TableHeap(byte[] data) : base(data)
		{
		}

		// Token: 0x06000A5F RID: 2655 RVA: 0x0002E9E4 File Offset: 0x0002CBE4
		public bool HasTable(Table table)
		{
			return (this.Valid & 1L << (int)table) != 0L;
		}

		// Token: 0x040004B8 RID: 1208
		public long Valid;

		// Token: 0x040004B9 RID: 1209
		public long Sorted;

		// Token: 0x040004BA RID: 1210
		public readonly TableInformation[] Tables = new TableInformation[58];
	}
}
